﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x020008B1 RID: 2225
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class GroupStateChangeScNotify : IMessage<GroupStateChangeScNotify>, IMessage, IEquatable<GroupStateChangeScNotify>, IDeepCloneable<GroupStateChangeScNotify>, IBufferMessage
	{
		// Token: 0x17001BFF RID: 7167
		// (get) Token: 0x06006372 RID: 25458 RVA: 0x00107E71 File Offset: 0x00106071
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<GroupStateChangeScNotify> Parser
		{
			get
			{
				return GroupStateChangeScNotify._parser;
			}
		}

		// Token: 0x17001C00 RID: 7168
		// (get) Token: 0x06006373 RID: 25459 RVA: 0x00107E78 File Offset: 0x00106078
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return GroupStateChangeScNotifyReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17001C01 RID: 7169
		// (get) Token: 0x06006374 RID: 25460 RVA: 0x00107E8A File Offset: 0x0010608A
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return GroupStateChangeScNotify.Descriptor;
			}
		}

		// Token: 0x06006375 RID: 25461 RVA: 0x00107E91 File Offset: 0x00106091
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public GroupStateChangeScNotify()
		{
		}

		// Token: 0x06006376 RID: 25462 RVA: 0x00107E99 File Offset: 0x00106099
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public GroupStateChangeScNotify(GroupStateChangeScNotify other) : this()
		{
			this.groupStateInfo_ = ((other.groupStateInfo_ != null) ? other.groupStateInfo_.Clone() : null);
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x06006377 RID: 25463 RVA: 0x00107ECE File Offset: 0x001060CE
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public GroupStateChangeScNotify Clone()
		{
			return new GroupStateChangeScNotify(this);
		}

		// Token: 0x17001C02 RID: 7170
		// (get) Token: 0x06006378 RID: 25464 RVA: 0x00107ED6 File Offset: 0x001060D6
		// (set) Token: 0x06006379 RID: 25465 RVA: 0x00107EDE File Offset: 0x001060DE
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public GroupStateInfo GroupStateInfo
		{
			get
			{
				return this.groupStateInfo_;
			}
			set
			{
				this.groupStateInfo_ = value;
			}
		}

		// Token: 0x0600637A RID: 25466 RVA: 0x00107EE7 File Offset: 0x001060E7
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as GroupStateChangeScNotify);
		}

		// Token: 0x0600637B RID: 25467 RVA: 0x00107EF5 File Offset: 0x001060F5
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(GroupStateChangeScNotify other)
		{
			return other != null && (other == this || (object.Equals(this.GroupStateInfo, other.GroupStateInfo) && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x0600637C RID: 25468 RVA: 0x00107F28 File Offset: 0x00106128
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.groupStateInfo_ != null)
			{
				num ^= this.GroupStateInfo.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600637D RID: 25469 RVA: 0x00107F64 File Offset: 0x00106164
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600637E RID: 25470 RVA: 0x00107F6C File Offset: 0x0010616C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600637F RID: 25471 RVA: 0x00107F75 File Offset: 0x00106175
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.groupStateInfo_ != null)
			{
				output.WriteRawTag(34);
				output.WriteMessage(this.GroupStateInfo);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x06006380 RID: 25472 RVA: 0x00107FA8 File Offset: 0x001061A8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.groupStateInfo_ != null)
			{
				num += 1 + CodedOutputStream.ComputeMessageSize(this.GroupStateInfo);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x06006381 RID: 25473 RVA: 0x00107FE8 File Offset: 0x001061E8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(GroupStateChangeScNotify other)
		{
			if (other == null)
			{
				return;
			}
			if (other.groupStateInfo_ != null)
			{
				if (this.groupStateInfo_ == null)
				{
					this.GroupStateInfo = new GroupStateInfo();
				}
				this.GroupStateInfo.MergeFrom(other.GroupStateInfo);
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x06006382 RID: 25474 RVA: 0x0010803C File Offset: 0x0010623C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x06006383 RID: 25475 RVA: 0x00108048 File Offset: 0x00106248
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 34U)
				{
					this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
				}
				else
				{
					if (this.groupStateInfo_ == null)
					{
						this.GroupStateInfo = new GroupStateInfo();
					}
					input.ReadMessage(this.GroupStateInfo);
				}
			}
		}

		// Token: 0x040025FE RID: 9726
		private static readonly MessageParser<GroupStateChangeScNotify> _parser = new MessageParser<GroupStateChangeScNotify>(() => new GroupStateChangeScNotify());

		// Token: 0x040025FF RID: 9727
		private UnknownFieldSet _unknownFields;

		// Token: 0x04002600 RID: 9728
		public const int GroupStateInfoFieldNumber = 4;

		// Token: 0x04002601 RID: 9729
		private GroupStateInfo groupStateInfo_;
	}
}
